package com.gqz.patrol.mapstruct;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gqz.patrol.entity.EnPatrolTaskElectricityEntity;
import com.gqz.patrol.vo.EnPatrolTaskElectricityVo;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * @ClassName EnPatrolTaskElectricityMapstruct
 * @Description 电量采集信息表
 */
@Mapper(componentModel = "spring", imports = {})
@Component
public interface EnPatrolTaskElectricityMapstruct {

    EnPatrolTaskElectricityVo toVo(EnPatrolTaskElectricityEntity entity);

    List<EnPatrolTaskElectricityVo> toVos(List<EnPatrolTaskElectricityEntity> entity);

    Page<EnPatrolTaskElectricityVo> toVos(Page<EnPatrolTaskElectricityEntity> entity);

    EnPatrolTaskElectricityEntity toEntity(EnPatrolTaskElectricityVo vo);

    List<EnPatrolTaskElectricityEntity> toEntitys(List<EnPatrolTaskElectricityVo> vos);


}
